package com.hc.mall.product.dao;

import com.hc.mall.product.entity.CategoryBrandRelationEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 品牌分类关联
 *
 * @author huachen
 * @email huachen@gmail.com
 * @date 2025-10-10 21:23:21
 */
@Mapper
public interface CategoryBrandRelationDao extends BaseMapper<CategoryBrandRelationEntity> {

    //@Param为参数起个别名 方便在xml中获取对应值
    void updateCategory(@Param("catId") Long catId,@Param("name") String name);
}
